<?php
if(isset($_POST['create'])){
    require_once dirname(__FILE__)."/add.php";
}    
?>
<form action="<?php $_SERVER['PHP_SELF'];?>" method="post">
  Логин: <br />
  <input type="text" name="login" maxlength="16">
  <br />Пароль: <br />
  <input type="password" name="password" maxlength="16">
  <br />Уровень:<br />
  <select name="role">
    <option>User </option>  
    <option>Moderator </option>
    <option>Admin </option>
  </select>
  <br /> <br />
  <input type="submit" name="create" class="button" value="Создать">
</form>
